package com.lizonghui.googleplay.protocol;

import com.lizonghui.googleplay.base.BaseProtocol;
import com.lizonghui.googleplay.bean.ItemInfoBean;

import java.util.List;

/**
 * Created by Administrator on 2016/6/22.
 * 创建gameFragment的协议请求，请求的返回的类型是集合List，集合中对象是ItemInfoBean
 */
public class GameProtocol extends BaseProtocol<List<ItemInfoBean>> {

 /*   @Override
    public List<ItemInfoBean> parseJsonString(String resultJsonString) {
        Gson gson = new Gson();
        return gson.fromJson(resultJsonString, new TypeToken<List<ItemInfoBean>>() {
        }.getType());
    }*/

    @Override
    public String getInterfaceKey() {
        return "game";
    }
}
